Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 5 - Printing Functions for Message Overrides / Printing Functions Reference
Functions / Segmenting Message Override Code


GXPrintingDispatch

You can use the GXPrintingDispatch function to make calls across segment boundaries.

OSErr GXPrintingDispatch (long selector, ...);
selector
The selector for the printing message that you want to dispatch.
...
The parameters that the message expects.
DESCRIPTION
The GXPrintingDispatch function calls a function that is located in a different code segment. You need to do this if the code to implement a single message override is too large to fit into one segment. This function uses the same information as does the PRINTINGDISPATCH macro, which provides a simpler technique for calling across segment boundaries. To use the GXPrintingDispatch function, you construct your own selector, as described on page 5-12, and use it as a parameter to the function.

SEE ALSO
An example of using the GXPrintingDispatch function is shown on page 5-12.

The PRINTINGDISPATCH macro method of calling across segments is described in the section "Segmenting Your Driver Code" beginning on page 5-12.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help